Web Publishing of the Files Obtained by Flash
نویسندگان
چکیده
The aim of this article is to familiarize the user with the Web publishing of the files obtained by Flash. The article contains an overview of Macromedia Flash 5, as well as the running of a Playing Flash movie, information on Flash and Generator, the publishing of Flash movies, a HTLM publishing for Flash Player files and publishing by Generator templates. 1. General presentation of Macromedia Flash 5 Macromedia Flash 5, still refered to as Flash, is a product of the Macromedia Inc. Company, having its headquarters in San Francisco, California, USA. On Internet, Macromedia is found at http://www.macromedia.com. Macromedia provides IT solutions to clients from the business, educational or governmental area. The company operates in more than 50 countries worldwide. Flash is the software that enables millions of Internet application developers to find solutions targeted to Web users performed on different platforms and equipments. 2. Running Flash Playing Movies Considering the theme of the present study we will emphasize the operation of publishing. The flash publishing utility is used to display animation on the web. The publish commands create Flash Player files (SWF) and a HTML Anale. Seria Informatică. Vol. VII fasc. 1 – 2009 Annals. Computer Science Series. 7 Tome 1 Fasc. – 2009 350 document, which started from a browser, insert Flash Player files in a browser window. The Flash Player format (SWF) is the main format for distributing a Flash content and it is the only format that supports all the interactive functionality of the Flash. A Flash player movie can be played in several ways. The one taken into account by our study is made via some Internet browsers, such as Netscape Navigator or Internet Explorer, equipped with a Flash Player. The format of a Flash Player file is an open standard that is supported by other applications. See Macromedia site for latest information. 2.1 On Generator and Flash Generator expands the utility area of Flash, enabling designers to create a Flash rich media content which can be finally delivered in a variety of graphic animation or static formats. Any object created in Flash including library elements, symbols, animations, published output can be considered a Generator object, using the symbols or the Generator variables. (Generator Variables are text enclosed in curly brackets such as {text}.) Using Generator one can choose the best form to display the information including scrolling lists, graphs, tables, a variety of graphic formats, sounds and movies to create a customized multimedia Web experience in real time. If Generator 2 is installed, then Flash can create templates that contain Generator variable (graphics, text and sound) which will replace the content from various data sources (text files, databases etc.). This generated content can be run in a client browser as a Flash Player movie or as an animated JPEG, PNG, GIF or QuickTime file. 2.2 Publishing Flash movies Publishing a Flash movie on the web involves two phases. Firstly, all the files required by the application are prepared with the Publish Settings command. Then publish the movie and all the corresponding files are published with the publish command. In order to prepare a Flash content to be used in other applications one can use an export command. Anale. Seria Informatică. Vol. VII fasc. 1 – 2009 Annals. Computer Science Series. 7 Tome 1 Fasc. – 2009 351 The Publish Settings command allows the user to choose the formats and to specify the settings for individual files containing movies including GIF, JPEG or PNG and to store these settings with the movie file. Depending on what it was specified in the Publish Settings dialog box, a publish command will create the following files: Flash movie for Web (SWF file). Alternative images in a variety of formats that automatically appear if Flash Player is not installed (GIF, JPEG, PNG and QuickTime). The support of the HTML document necessary to display a movie (or alternative image) in the browser and the control of the browser settings. Stand-alone Projectors both for Windows and Macintosh systems and QuickTime videos for Flash movies (EXE, HQX, respectively MOV files). In order to change a Flash Player movie created with the original Flash movie should be edited. Afterwards a new publish command is made. Importing a Flash Movie Player in Flash determines the loss of some information. 2.3 Publishing HTML file Flash Player Running a Flash movie into a Web browser requires a HTML document to run the movie under some specified browser settings conditions. This document is automatically generated by a publish command, starting from the HTML parameters stored in a template document. HTML parameters determine where a Flash movie appears in the browser window, the background color (background color), the film size, etc.., and it sets the attributes for the OBJECT and EMBED tags. All these parameters can be change in the HTML panel from the Publish Settings dialog box. Changing these settings covers the options that were originally set in Flash movie. The changed settings are inserted in the template document. The template document can be any text file containing the correspondent template variables including a simple HTML file, which may contain a code specially interpreted, for example, the ColdFusion or Active Server Pages (ASP), or a template included by Flash (for more information see Presentation of HTML templates for publication). A template can be adapted (see Customizing a HTML publishing template) or manually modified (input of HTML parameters necessary to Anale. Seria Informatică. Vol. VII fasc. 1 – 2009 Annals. Computer Science Series. 7 Tome 1 Fasc. – 2009 352 run Flash movies) with any HTML editor (see Editing Flash HTML Settings). 3. Publishing via Generator templates and the description of HTML publishing templates Generator provides the possibility of adding a dynamic content such as text, graphics and sound to a Flash movie. The publishing options can be specified in the Generator panel from the Publish Settings box. The Flash HTML templates enable a checking such as what type of the film is taken into account on the Web and how it is like and how it runs in the Web browser. A Flash template is a text file containing both a fix HTML code and template code (variable). When a Flash movie is published, Flash replaces the variables from the template with the selected values in the Publish Settings box HTML settings, and produces an HTML page with embedded video. Flash includes several templates covering the needs of many users, which virtually eliminates the need of editing a HTML page with Flash film. For example, a simple template places a Flash movie into a HTML page generated so that the user could see through a Web browser if the plug-in is installed. Other templates firstly detect whether the plug-in has been installed and if not, they install it. One can easily use an existing template, change settings, and publish a new HTML page. HTML experts can create their own templates using any HTML editor. Creating a template is identical to creating a standard HTML page, except for the fact that the variables (starting with $ sign) specific to Flash movies can be replaced with values. Flash HTML templates have the following characteristics: A single headline that appears on the Template pop-up menu A longer description that appears when you click the Info button Template variables starting with $ sign indicating that they will be replaced when Flash generates output file (\ $ is used if the use of $ sign is necessary for other purposes). HTML tags, OBJECT and EMBED, comply with requirements of Microsoft Internet Explorer, respectively Netscape Communicator / Navigator. In order to properly display a movie in a HTML page the tag requirements must be respected. Internet Explorer opens a Flash movie using HTML tag OBJECT; while Netscape HTML uses the tag EMBED. For more information see Use of OBJECT and EMBED. Anale. Seria Informatică. Vol. VII fasc. 1 – 2009 Annals. Computer Science Series. 7 Tome 1 Fasc. – 2009 353 3.1 Customizing a publish HTML template The users of HTML language can change the HTML template variables to create map images, or text reports or URL reports to insert their own values for the common Flash parameters OBJECT and EMBED (for Internet Explorer, respectively Netscape Communicator / Navigator). Flash templates can include any HTML content necessary to an application or even a code for special interpreters such as Cold Fusion, ASP and other such. 3.2 Creating an image map (sensitive map) Flash can generate an image map using any image. Flash inserts the code for the image map as for a virtual image, so that, if the reference image is replaced, the map feature remains. The $IU variable identifies the name of the GIF files, JPEG or PNG file. To create an image map: 1. For a Flash movie, the keyframe used to label the map image # map Map in the Frame panel (Windows> Panels> Frame). You can use any keyframe with buttons which have attached Get URL actions. If no frame label is created, Flash creates an image map using the buttons from the last frame or film. This option generates an embedded 2. Map image, not an embedded Flash movie. 3. From an HTML editor, a HTML template to be modified is opened. Flash stores the HTML templates in the Macromedia Flash 5/HTML directory. 4. Save the template. 5. Select File> Publish Settings, click the Format tab and select a format for an image map-GIF, JPEG or PNG. 6. Click OK to save settings. For example the following code can be inserted in a template: $IM That will create the following code in a HTML document created through a Publish command: Anale. Seria Informatică. Vol. VII fasc. 1 – 2009 Annals. Computer Science Series. 7 Tome 1 Fasc. – 2009 354 3.3 Creating a text report The $MT variable template determines Flash to insert all the texts in the current Flash movie as a HTML comment code. This is very useful for indexing the content of a film and for making it visible to search engines.
منابع مشابه
Steganographic Techniques for Hiding Data in SWF Files
Small Web Format (SWF) or Flash files are widely used on the Internet to provide Rich Internet Applications (RIAs). This makes SWF files an excellent candidate for disseminating hidden data. However, digital forensic investigators are unable to detect and extract the hidden data because limited information is available about the techniques used to hide data in SWF files. This paper investigates...
متن کاملCreating Synchronized Presentations for Mobile Devices Using Open Source Tools
In this paper, we describe a way to create synchronized presentations for mobile devices using only open-source tools. In the framework of higher education, it is important to provide the students with flexible and interactive resources when the time assigned to laboratory or lectures gets decreased. Nowadays, the students have often one o many mobile devices such as mobile phones, smartphones,...
متن کاملPublishing Bibliographic Data on the Semantic Web using BibBase
We present BibBase, a system for publishing and managing bibliographic data available in BibTeX files on the Semantic Web. BibBase uses a powerful yet light-weight approach to transform BibTeX files into rich Linked Data as well as custom HTML and RSS code that can readily be integrated within a user’s website. The data can instantly be queried online on the system’s SPARQL endpoint. In this de...
متن کاملOptimization of Flash, Billet Dimensions and Friction Factor in Closed Die Cold Forging Process
Three important parameters in designing a closed die for forging process are ratio of width to flash thickness, ratio of height to billet diameter and the friction factor. In this paper the influences of these parameters on the required force for the forging and percentage of die filling were investigated. It was found that by controlling the flash dimension, the material loss is reduced and t...
متن کاملPodcast Pinpointer: a Multimedia Semantic Web Application
In late 2004, a new method of publishing multimedia broadcasts on the Internet became popular called ‘Podcasting’. Podcasting incorporates existing feed description formats, namely RSS 2.0 (Really Simple Syndication), to deliver various enclosed files which allows users to subscribe to feeds, receiving updates periodically. Originally intended for self-publishing and syndication of audio files,...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- CoRR
دوره abs/0906.0866 شماره
صفحات -
تاریخ انتشار 2009